home *** CD-ROM | disk | FTP | other *** search
- @echo off
- echo off
- cls
- echo ┌─────────────────────────────────────────────────────────────────────────┐
- echo │ │
- echo │ Mercury Mail Transport System for NetWare 3.1x and 4.x, │
- echo │ Copright (c) 1993, David Harris, All Rights Reserved. │
- echo │ │
- echo │ This batch file will create the necessary directories in SYS:SYSTEM │
- echo │ for Mercury and copy all the Mercury files to the appropriate places. │
- echo │ If you have already installed an earlier version of Mercury, then it │
- echo │ will simply update the NLMs and altered files. │
- echo │ │
- echo │ For it to work correctly, the following conditions must be true: │
- echo │ │
- echo │ * You must be logged in as SUPERVISOR or an equivalent user │
- echo │ * You must be running this batch file from the directory in which │
- echo │ you unpacked MERC111.ZIP │
- echo │ │
- echo │ If either of these is not true, please press Ctrl-Break now to stop │
- echo │ the installation, otherwise.... │
- echo │ │
- echo └─────────────────────────────────────────────────────────────────────────┘
- echo
- pause
- cls
- echo ┌───────────────────────────────────────────────────────────────────────────┐
- echo │ Installing the Mercury System. . . │
- echo └───────────────────────────────────────────────────────────────────────────┘
- echo
- echo Mapping drive K to SYS:SYSTEM...
- map k:=sys:system > nul
-
- if not exist k:mercury.ini goto install
- if not exist k:mercury\*.* goto install
- echo Updating existing Mercury Installation...
- copy *.nlm k:
-
- echo
- echo ┌───────────────────────────────────────────────────────────────────────────┐
- echo │ │
- echo │ Update completed successfully. │
- echo │ │
- echo │ Please make sure you run MGUIDE.EXE for information on changes in this │
- echo │ release of Mercury. You will have to unload and reload the various │
- echo │ Mercury NLMs before the updated version becomes active. │
- echo │ │
- echo └───────────────────────────────────────────────────────────────────────────┘
- echo
- goto finis
-
- :install
- echo Making K:.\MERCURY...
- mkdir k:\system\mercury
- echo
- echo Copying NLMs and INI file to SYS:SYSTEM...
- copy *.nlm k:\system
- copy mercury.ini k:\system
- flag sys:system\mercury.ini S
- echo
- echo Copying sample template and list files to SYS:SYSTEM\MERCURY...
- if exist mercury\maiser.hlp set foo=mercury\
- copy %foo%maiser.hlp k:\system\mercury
- copy %foo%confirm.mer k:\system\mercury
- copy %foo%failure.mer k:\system\mercury
- copy %foo%maiser.lkp k:\system\mercury
- copy %foo%maiser.hlp k:\system\mercury
- copy %foo%lists.smp k:\system\mercury
- cls
- echo ┌──────────────────────────────────────────────────────────────────────┐
- echo │ All Mercury components have now been copied. To complete the │
- echo │ installation, you must tailor SYS:SYSTEM/MERCURY.INI to fit your │
- echo │ site and system. Edit MERCURY.INI using any text editor, and make │
- echo │ sure that at the very least the following entries are correctly set │
- echo │ (you might want to press PrintScreen at this point). │
- echo │ │
- echo │ In the [General] Section: │
- echo │ Myname - The canonical name of your server. │
- echo │ Timezone - Your time zone │
- echo │ Mailqueue - The mail queue Mercury is to service │
- echo │ SMTPqueue - The mail queue Mercury is to service │
- echo │ │
- echo │ In the [Mercury] Section │
- echo │ Postmaster - NetWare UIC of the user who is postmaster. │
- echo │ │
- echo │ In the [MercuryC] Section │
- echo │ Host - IP address of your mail relay host. │
- echo │ │
- echo │ In the [Domains] Section │
- echo │ - Create equivalences of the form SERVER : host.domain │
- echo │ │
- echo └──────────────────────────────────────────────────────────────────────┘
- pause
- cls
- echo ┌────────────────────────────────────────────────────────────────────────┐
- echo │ Installation of Mercury is finished. │
- echo ├────────────────────────────────────────────────────────────────────────┤
- echo │ │
- echo │ Now edit SYS:SYSTEM\MERCURY.INI as described in the last screen. If │
- echo │ you want Mercury to load automatically when the server boots up, add │
- echo │ the following lines to the end of SYS:SYSTEM\AUTOEXEC.NCF - │
- echo │ │
- echo │ load mercury │
- echo │ load mercurys │
- echo │ load mercuryc │
- echo │ │
- echo │ Also, if you have not run ADDQ on your mail queue, do so now. │
- echo │ │
- echo │ At this stage, you should certainly run MGUIDE.EXE if you have not │
- echo │ already done so. MGUIDE.EXE is an online guide to Mercury which │
- echo │ discusses installation issues (especially MERCURY.INI) in more detail │
- echo │ than this installer. │
- echo │ │
- echo └────────────────────────────────────────────────────────────────────────┘
- echo
-
- :finis
- map del k: > nul
-
-